package xin.cymall.enumresource;

import xin.cymall.utils.EnumMessage;

/**
 * Created by mhjs
 * 2017/7/20.
 */
public enum StatusEnum implements EnumMessage {
    START("1","启动"),
    STOP("2","停止"),
	PAUSE("3","暂停"),
	RESUME("4","恢复");
    private final String code;
    private final String value;
    private StatusEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }
    @Override
    public String getCode() { return code;}
    @Override
    public String getValue() { return value; }
}
